package com.nebor.product.application.convert;

import com.nebor.product.application.dto.ProductCategoryDTO;
import com.nebor.product.domain.bo.ProductCategoryBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ProductCategoryDtoConverter {
    ProductCategoryDtoConverter INSTANCE = Mappers.getMapper(ProductCategoryDtoConverter.class);


    ProductCategoryBO convertDtoToBo(ProductCategoryDTO productCategoryDTO);

    List<ProductCategoryDTO> convertBoToCategoryDTOList(List<ProductCategoryBO> productCategoryBOList);
}
